package com.xiaoxie.service;

import com.xiaoxie.DTO.UserDTO;
import com.xiaoxie.entity.User;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 小谢
 * @since 2023-10-13
 */

public interface IUserService {

    /**
     * 用户学习状态更新
     *
     * @param account
     */
    boolean updateFinish(String account);

    /**
     * 用户登录
     * @return
     */
    User Login(UserDTO userDTO);


    boolean insertUser(String userDTO,String pwd);

    void initial(User user);
}
